import { axios } from '../../../utils/request'

const api = {
  save: '/finance/otherPayable/save',
  getcode: '/finance/otherPayable/getCode',//编码
  examine: '/finance/otherPayable/examine',
  delete: '/finance/otherPayable/delete',
}
/**
 * 保存
 */
export function save (data) {
  return axios({
    url: api.save,
    method: "post",
    data: data
  })
}

/**
 * 审核
 */
export function examine (data) {
  return axios({
    url: api.examine,
    method: "get",
    params: data
  })
}

/**
 * 获取编码
 */
export function getCode (data) {
  return axios({
    url: api.getcode,
    method: "get",
    params: data
  })
}

/**
 * 删除
 */
export function remove (data) {
  return axios({
    url: api.delete,
    method: "delete",
    params: data
  })
}

